package cn.bass.marketing.service.strategyRule;

import cn.bass.marketing.common.constant.RulesConstant;
import cn.bass.marketing.common.vo.resp.MarketingStrategyRuleRespVO;
import cn.bass.marketing.entity.MarketingStrategyRuleDO;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * {@author}: LiuWei
 * {@version}: 1.0
 * {@since}: 2024-08-15
 * 描述：策略规则接口
 */

public interface MarketingStrategyRuleService extends IService<MarketingStrategyRuleDO> {

    /**
     * 根据策略id和规则模型查询
     * @param strategyId 策略id
     * @param ruleBlacklistKey 规则模型
     * @return 策略规则
     */
    MarketingStrategyRuleRespVO selectByStrategyIdAndRuleModel(String strategyId, RulesConstant ruleBlacklistKey);
}
